Placeholder

You can use editor.config.placeholder to change placeholder text.

const editor = new E('#div1')

editor.config.placeholder = 'custom placeholder txt'
// editor.config.placeholder = '' // if you not use placeholder, you can get placehoder a empty string
editor.create()
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2022-04-11 06:40:29

results matching ""

    No results matching ""